<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../vue_lib/vue.js"></script>
    <title>Title</title>
</head>
<body>
<div id="app">
    <div v-if="type === 'a'">
        A
    </div>
    <div v-else-if="type === 'b'">
        B
    </div>
    <div v-else-if="type === 'c'">
        C
    </div>
    <div v-else>
        Not A/B/C
    </div>
    <p v-show="ok">hello</p>
</div>
<script>
    var vm = new Vue({
        el:"#app",
        data:{
            type:'',
            ok:false
        }
    })
</script>

</body>
</html>